import request from '@/utils/request'

// 发货订单列表
export function getGoodsOrderLists(query) {
    return request({
        url: '/joining/busin.OrdersGoods/getLists',
        method: 'post',
        params: query
    })
}

// 取消订单
export function cancelGoodsOrder(query) {
    return request({
        url: '/joining/busin.OrdersGoods/cancel',
        method: 'post',
        params: query
    })
}

// 商品订单_手动确认收款
export function confirmGoodsPay(query) {
    return request({
        url: '/joining/busin.OrdersGoods/confirmPay',
        method: 'post',
        params: query
    })
}

// 商品订单_发货_快递公司列表
export function getPostageLists(query) {
    return request({
        url: '/joining/busin.OrdersGoods/getPostageLists',
        method: 'post',
        params: query
    })
}

// 商品订单_发货_发货信息详情
export function getPostageSendInfo(query) {
    return request({
        url: '/joining/busin.OrdersGoods/getSendInfo',
        method: 'post',
        params: query
    })
}

// 商品订单_发货_设置发货
export function setPostageSendInfo(query) {
    return request({
        url: '/joining/busin.OrdersGoods/setSendInfo',
        method: 'post',
        params: query
    })
}

// 商品订单_发货_物流跟踪
export function wuliuTracking(query) {
    return request({
        url: '/joining/busin.OrdersGoods/logis',
        method: 'post',
        params: query
    })
}

// 发货订单列表
export function getSendOrdersLists(query) {
    return request({
        url: '/joining/busin.OrdersGoods/getSendOrdersLists',
        method: 'post',
        params: query
    })
}